home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmToggleButtonGadgetSetState.z / XmToggleButtonGadgetSetState
Encoding:
Text File  |  2003-11-18  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTToooogggggggglllleeeeBBBBuuuuttttttttoooonnnnGGGGaaaaddddggggeeeettttSSSSeeeettttSSSSttttaaaattttUUUUeeeeNNNN((((IIII3333XXXXXXXX))))SSSSyyyyssssXXXXttttmmmmeeeeTTTTmmmmooooggggVVVVgggglllleeeeBBBBuuuuttttttttoooonnnnGGGGaaaaddddggggeeeettttSSSSeeeettttSSSSttttaaaatttteeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_o_g_g_l_e_B_u_t_t_o_n_G_a_d_g_e_t_S_e_t_S_t_a_t_e - A ToggleButtonGadget function
  10.       that sets or changes the current state
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/ToggleBG.h>
  14.  
  15.       void XmToggleButtonGadgetSetState (wwwwiiiiddddggggeeeetttt,,,, ssssttttaaaatttteeee,,,, nnnnoooottttiiiiffffyyyy)
  16.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  17.            _B_o_o_l_e_a_n     ssssttttaaaatttteeee;
  18.            _B_o_o_l_e_a_n     nnnnoooottttiiiiffffyyyy;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_T_o_g_g_l_e_B_u_t_t_o_n_G_a_d_g_e_t_S_e_t_S_t_a_t_e sets or changes the
  22.       ToggleButtonGadget's current state.
  23.  
  24.       wwwwiiiiddddggggeeeetttt
  25.            Specifies the ToggleButtonGadget    widget ID.
  26.  
  27.       ssssttttaaaatttteeee
  28.            Specifies a Boolean value that indicates    whether    the
  29.            ToggleButtonGadget state    is selected or unselected.  If
  30.            True, the button    state is selected; if False, the
  31.            button state is unselected.
  32.  
  33.       nnnnoooottttiiiiffffyyyy
  34.            Indicates whether _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k is called; it
  35.            can be either True or False.  The
  36.            _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k is only called when this
  37.            function    changes    the state of the ToggleButtonGadget.
  38.            When this argument is True and the ToggleButtonGadget
  39.            is a child of a RowColumn widget    whose _X_m_N_r_a_d_i_o_B_e_h_a_v_i_o_r
  40.            is True,    setting    the ToggleButtonGadget causes other
  41.            ToggleButton and    ToggleButtonGadget children of the
  42.            RowColumn to be unselected.
  43.  
  44.       For a    complete definition of ToggleButtonGadget and its
  45.       associated resources,    see _X_m_T_o_g_g_l_e_B_u_t_t_o_n_G_a_d_g_e_t(_3_X).
  46.  
  47.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  48.       _X_m_T_o_g_g_l_e_B_u_t_t_o_n_G_a_d_g_e_t(_3_X).
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.